import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './style/reset.css'
// 导入全局演样式
import './assets/index.css'

// 引入自定义组件
import component from '@/components'

Vue.config.productionTip = false

Vue.use(ElementUI)
// 注册自定义组件
Vue.use(component)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
